﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Kingdee.BOS.Core.CloudModel.Crm
{
    public class Crm_SaleOrderDetail
    {
        /// <summary>
        /// 
        /// </summary>
        public string product_no { get; set; }
        /// <summary>
        /// 输送机11
        /// </summary>
        public string productname { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string productsheet { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string entitytype { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string entitytypeid { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string quantity { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string taxprice { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string discount_percent { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string actualtaxprice { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string tax_amount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string comment { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string list_amount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string tax_total { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string listprice { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string tax2 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string haveinvoiceamount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string balanceinvoiceamount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string haveoutproductamount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string balanceoutproductamount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string lineitem_id { get; set; }
    }

    public class Crm_SaleOrder
    {
        /// <summary>
        /// 
        /// </summary>
        public string tag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string salesorderid { get; set; }
        /// <summary>
        /// 未出库
        /// </summary>
        public string stockpresence { get; set; }
        /// <summary>
        /// 全部采购
        /// </summary>
        public string purchasestatus { get; set; }
        /// <summary>
        /// 测试1111
        /// </summary>
        public string account_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string account_id_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string contact_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string contact_id_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string potential_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string potential_id_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string selectlistval { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string signed_data { get; set; }
        /// <summary>
        /// 系统管理员
        /// </summary>
        public string assigned_user_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string assigned_user_id_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string duedate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string sponsorid { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string sponsorid_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string flowstatus { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string lastinvoice_no { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string received_amount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string received_amount_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string have_invoicetotal { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string have_invoicetotal_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string receivable_balance { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string receivable_balance_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string nothave_invoicetotal { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string nothave_invoicetotal_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string cashbilldate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string lastinvoicedate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string lastinvoicedate_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string creator { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string createdtime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string modifiedby { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string modifiedtime { get; set; }
        /// <summary>
        /// 已驳回
        /// </summary>
        public string approvestatus { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string salesorder_no { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string currency_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string currency_id_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string conversion_rate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string hdnSubTotal { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string hdnSubTotal_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string txtAdjustment { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string txtAdjustment_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string hdnDiscountAmount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string hdnDiscountAmount_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string hdnGrandTotal { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string hdnGrandTotal_id { get; set; }
        /// <summary>
        /// CRM系统新建
        /// </summary>
        public string sourcefrom { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string sourcefrom_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string totalquantity { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string sostatus { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string haveoutboundamount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string haveoutboundamount_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string balanceoutboundamount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string balanceoutboundamount_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string haveoutboundcount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string balanceoutboundcount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string approvetime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string order_status { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string order_source { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string description { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string filename { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<Crm_SaleOrderDetail> Detail_Products { get; set; }
    }
}
